home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / Timing / UpTime17.lha / UpTime / scripts / IncreaseUpTime < prev    next >
Encoding:
Text File  |  1993-09-23  |  789 b   |  26 lines

  1. ;
  2. ;   $VER: IncreaseUpTime 1.0 (23.09.93)
  3. ;
  4. ;   Written 20. September 1993 by J.Matern
  5. ;   This file is part of the 'UpTime'-package © by Jürgen Matern.
  6. ;   The package may be redistributed under limitations discribed
  7. ;   in the file 'UpTime.doc' which should have come with this
  8. ;   distribution. Read this file for more information!
  9. ;
  10. ;   Last changed: 23. September 1993
  11. ;
  12. set TodayUpTime 0
  13. if exists ENV:UpTime/UpTime
  14.    set TodayUpTime `getenv UpTime/UpTime`
  15. endif
  16.  
  17. set TodayUpTime `eval $TodayUpTime + 10`
  18. ; Modify this -----------------------^ value to 5,
  19. ; if you run this script every 5 minutes (and so on).
  20. ; Also change the value in the script 'OnOff'!
  21.  
  22. date > ENVARC:UpTime/UpDate
  23. setenv UpTime/UpTime $TodayUpTime
  24. copy ENV:UpTime/UpTime ENVARC:UpTime/UpTime
  25. unset TodayUpTime
  26.